package com.example.server.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * ProjectName: yeb
 * Author: 别怿言
 * Date: 2023-02-04 22:37
 * Description：测试接口
 */
@Api(tags = "TestExample")
@RestController
public class TestController {

    @ApiOperation(value = "hello")
    @GetMapping("/hello")
    public String Hello(){
        return "hello,别怿言!";
    }

    @ApiOperation(value = "basicinfo")
    @GetMapping("/employee/basic/hello")
    public String hello2(){
        return "/employee/basic/hello";
    }

    @ApiOperation(value = "advanceinfo")
    @GetMapping("/employee/advanced/hello")
    public String hello3(){
        return "/employee/advanced/hello";
    }
}
